<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>联合监管任务分办</title>
    <script src="../../../js/header.js"></script>
</head>

<body>
<div v-cloak id="app">
	<div style="margin-top: 10px;">
		<div style="margin-top: 10px;border-bottom:1px solid rgba(200,200,200,0.43);">
			<el-form :model="selectForm" :rules="rules" ref="selectForm" label-width="150px">
				<el-row>
					<el-col :span="6">
						<el-form-item label="任务名称:" prop="" label-width="140px">
							<el-input v-model="selectForm.taskname" placeholder=""></el-input>
						</el-form-item>
					</el-col>
					<el-col span="6">
						<el-form-item label="监管事项类型:">
							<el-select  v-model="selectForm.taskJgType" placeholder="请选择" style="width: 250px;">
								<el-option label="行政检查" value="行政检查"></el-option>
								<el-option label="行政处罚" value="行政处罚"></el-option>
								<el-option label="行政强制" value="行政强制"></el-option>
								<el-option label="其它" value="其它"></el-option>
							</el-select>						
						</el-form-item>
					</el-col>
					<el-col span="6">
						<el-form-item label="监管对象名称">
							<el-input v-model="selectForm.objectname"></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="6">
						<el-form-item label="分办司局名称:" prop="" label-width="140px">
							<el-input v-model="selectForm.fbBureau" placeholder=""></el-input>
						</el-form-item>
					</el-col>
					<el-col span="6">
						<el-form-item label="分办处室名称:">
							<el-input v-model="selectForm.fbDepartment" placeholder=""  style="width:250px;"></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="6">
						<el-form-item label="任务状态:" prop="">
							<el-select v-model="selectForm.taskState">
								<el-option label="未分办" value="101"></el-option>
								<el-option label="已分办" value="102"></el-option>
								<el-option label="已答复" value="104"></el-option>
								<el-option label="已拒绝" value="106"></el-option>
								<el-option label="已反馈" value="105"></el-option>
								<el-option label="已结束" value="107"></el-option>
								<el-option label="处理中" value="103"></el-option>
							</el-select>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col span="10">
						 <el-form-item label="任务发起时间:" label-width="140px">							
							 <el-row>
								 <el-col span="6" style="width: 180px;">
									 <el-form-item prop="taskStartTime1">
										 <el-date-picker type="date" :editable="false" @change="changeStartDate" placeholder="选择日期" v-model="selectForm.taskStartTime1"
														value-format="yyyy-MM-dd" style="width: 180px;">
										 </el-date-picker>
									 </el-form-item>
								 </el-col>
								 <el-col span="1" style="color: rgb(192, 204, 218);text-align: center;">
									 <span>至</span>
								 </el-col>
								 <el-col span="5">
									 <el-form-item prop="taskStartTime2">
										 <el-date-picker type="date" :editable="false" @change="changeStartDate" placeholder="选择日期" v-model="selectForm.taskStartTime2"
														value-format="yyyy-MM-dd" style="width: 180px;">
										 </el-date-picker>
									 </el-form-item>
								 </el-col>
							 </el-row>
						</el-form-item>
					</el-col>
					<el-col span="10">
						 <el-form-item label="任务接收时间:" label-width="140px">							
							 <el-row>
								 <el-col span="6" style="width: 180px;">
									 <el-form-item prop="taskReceiveTime1">
										 <el-date-picker type="date" :editable="false" @change="changeReceiveDate" placeholder="选择日期" v-model="selectForm.taskReceiveTime1"
														value-format="yyyy-MM-dd" style="width: 180px;">
										 </el-date-picker>
									 </el-form-item>
								 </el-col>
								 <el-col span="1" style="color: rgb(192, 204, 218);text-align: center;">
									 <span>至</span>
								 </el-col>
								 <el-col span="5">
									 <el-form-item prop="taskReceiveTime2">
										 <el-date-picker type="date" :editable="false" @change="changeReceiveDate" placeholder="选择日期" v-model="selectForm.taskReceiveTime2"
														value-format="yyyy-MM-dd" style="width: 180px;">
										 </el-date-picker>
									 </el-form-item>
								 </el-col>
							 </el-row>
						</el-form-item>
					</el-col>				
					<div style="float: right;">
						<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="searchForm()">查询</el-button>
						<el-button type="warning" size="small" style="width: 60px;height: 30px;" @click="resetForm()">重置</el-button>
					</div>
				</el-row>
			</el-form>
		</div>

		<el-table :data="tableData" border style="width: 100%;margin-top: 35px;" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
			<el-table-column type="selection" ></el-table-column>
			<el-table-column
					type="index"
					label="序号"
					width="60"
					align="center">
			</el-table-column>
			<el-table-column
					prop="taskname"
					label="任务名称"
					width="150"
					align="center" >
			</el-table-column>
			<el-table-column
					prop="taskJgType"
					label="监管事项类型"
					width="120"
					align="center">
				<!--<template slot-scope="scope">
					<span v-if="scope.row.taskJgType=='0'">行政检查</span>
					<span v-if="scope.row.taskJgType==1">行政处罚</span>
					<span v-if="scope.row.taskJgType==2">行政强制</span>
					<span v-if="scope.row.taskJgType==3">其它</span>
				</template>-->
			</el-table-column>
			<el-table-column
					prop="objectname"
					label="监管对象名称"
					width="160"
					align="center">
			</el-table-column>
			<el-table-column
					prop="unionSectionName"
					label="协办部门名称"
					width="140"
					align="center">
			</el-table-column>
			<el-table-column
					prop="fbBureau"
					label="分办司局名称"
					width="140"
					align="center">
			</el-table-column>
			<el-table-column
					prop="fbDepartment"
					label="分办处室名称"
					width="140"
					align="center">
			</el-table-column>
			<el-table-column
					prop="taskstarttime"
					label="任务发起时间"
					width="110"
					align="center">
			</el-table-column>
			<el-table-column
					prop="receiveTime"
					label="任务接收时间"
					width="110"
					align="center">
			</el-table-column>
			<el-table-column
					prop="taskState"
					label="任务状态"
					width="80"
					align="center">
				<template slot-scope="scope">
					<span v-if="scope.row.taskState==101">未分办</span>
					<span v-if="scope.row.taskState==102">已分办</span>
					<span v-if="scope.row.taskState==104">已答复</span>
					<span v-if="scope.row.taskState==106">已拒绝</span>
					<span v-if="scope.row.taskState==105">已反馈</span>
					<span v-if="scope.row.taskState==107">已结束</span>
					<span v-if="scope.row.taskState==103">处理中</span>
				</template>
			</el-table-column>
			<el-table-column
					label="操作"
					width=""
					align="center">
				<template slot-scope="scope">
					<span v-if="scope.row.taskState==101">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)">分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)">结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)">反馈</el-button>
					</span>
					<span v-if="scope.row.taskState==102">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)" disabled>分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)" disabled>结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)" disabled>反馈</el-button>
					</span>
					<span v-if="scope.row.taskState==104">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)" disabled>分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)" >结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)" >反馈</el-button>
					</span>	
					<span v-if="scope.row.taskState==106">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)" >分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)" >结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)" disabled>反馈</el-button>
					</span>
					<span v-if="scope.row.taskState==105">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)" disabled>分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)" disabled>结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)" disabled>反馈</el-button>
					</span>
					<span v-if="scope.row.taskState==107">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)" disabled>分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)" disabled>结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)" disabled>反馈</el-button>
					</span>	
					<span v-if="scope.row.taskState==103">
						<el-button size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
						<el-button type="primary" size="mini" @click="dispense(scope.$index,scope.row)" disabled>分办</el-button>
						<el-button type="danger" size="mini" @click="finish(scope.$index,scope.row)" disabled>结束</el-button>
						<el-button type="success" size="mini" @click="feedback(scope.$index,scope.row)" disabled>反馈</el-button>
					</span>	
				</template>
			</el-table-column>
		</el-table>
		<div style="overflow: hidden;">
			<div class="pagination">
				<el-pagination
						@size-change="handleSizeChange"
						@current-change="handleCurrentChange"
						:current-page="currentPage"
						:page-sizes="[10, 20, 30, 40]"
						:page-size="pagesize"
						background
						layout="total, sizes,prev, pager, next"
						:total="tableTotal"
						prev-text="上一页"
						next-text="下一页">
				</el-pagination>
			</div>
		</div>
		<!--查看联合监管任务详情-->
		<el-dialog title="" :visible.sync="viewUniondetail" center fullscreen>
			<el-form :model="fbDetail" :rules="rules" ref="fbDetail" label-width="140px">
				<el-row>
					<el-col :span="4" class="tab-title">
						任务书信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="任务编号:"  prop="taskInfo.taskno" :rules="rules.taskno" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.taskno"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="任务名称:" prop="taskInfo.taskname" :rules="rules.taskname" label-width="190px">
							<el-input v-model="fbDetail.taskInfo.taskname"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="任务发起时间:"  prop="taskInfo.taskstarttime" :rules="rules.taskstarttime" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.taskstarttime"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="发起单位类型:" prop="taskInfo.initiateUnitType" :rules="rules.initiateUnitType" label-width="190px">
							<el-select v-model="fbDetail.taskInfo.initiateUnitType" placeholder="请选择"  disabled>
								<el-option label="部门" value="0"></el-option>
								<el-option label="地区" value="1"></el-option>									
							</el-select>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="发起单位编码:"  prop="taskInfo.initiateunitno" :rules="rules.initiateunitno" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.initiateunitno" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="发起单位名称:"  prop="taskInfo.initiateunitname" :rules="rules.initiateunitname" label-width="190px">
							<el-input v-model="fbDetail.taskInfo.initiateunitname" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>				
				</el-row>
				<div v-for="(item,index) in fbDetail.taskXb">
					<el-row>						
						<el-col :span="7">
							<el-form-item label="协办单位类型:"  :prop="'taskXb.'+index+'.unionType'" :rules="rules.unionType" label-width="140px">
								<el-select v-model="item.unionType" placeholder="请选择" disabled>
									<el-option label="部门" value="0"></el-option>
									<el-option label="地区" value="1"></el-option>		
								</el-select>
							</el-form-item>
						</el-col>						
					</el-row>
					<el-row v-if="item.unionType=='0'">	
						<el-col :span="7">
							<el-form-item label="协办部门编码:"  :prop="'taskXb.'+index+'.unionNo'" :rules="rules.unionNo" label-width="140px">
								<el-input v-model="item.unionNo" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
						<el-col :span="8">
							<el-form-item label="协办部门名称:"  :prop="'taskXb.'+index+'.unionName'" :rules="rules.unionName" label-width="190px">
								<el-input v-model="item.unionName" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
								
					</el-row>
					<el-row v-if="item.unionType=='1'">
						<el-col :span="7">
							<el-form-item label="协办地方编码:"  :prop="'taskXb.'+index+'.unionNo'" :rules="rules.unionNo" label-width="140px">
								<el-input v-model="item.unionNo" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>		
						<el-col :span="8">
							<el-form-item label="协办地方名称:" :prop="'taskXb.'+index+'.unionName'" :rules="rules.unionName"  label-width="190px">
								<el-input v-model="item.unionName" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
					</el-row>
				</div>
				<el-row>
					<el-col :span="4" class="tab-title">
						监管对象详情信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="监管对象行业类型:"  prop="taskInfo.superviseobjectno" :rules="rules.superviseobjectno" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.superviseobjectno"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="监管对象类型:" prop="superviseObject.objectType" :rules="rules.objectType" label-width="190px">
							<el-input v-model="fbDetail.superviseObject.objectType"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="监管对象名称:"  prop="superviseObject.objectname" :rules="rules.objectname" label-width="140px">
							<el-input v-model="fbDetail.superviseObject.objectname"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="监管对象标识:" prop="superviseObject.enterprisecreditcode" :rules="rules.enterprisecreditcode" label-width="190px">
							<el-input v-model="fbDetail.superviseObject.enterprisecreditcode"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="证件类型:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.superviseObject.certificateType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="证件内容:"  prop="" label-width="190px">
							<el-input v-model="fbDetail.superviseObject.certificateContent" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					
				</el-row>
				<el-row style="margin-bottom: 30px;">
					<el-col :span="7">
						<el-button type="primary" size="mini" @click="viewSupervision()">查看企业监管信息详情</el-button>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						联合监管任务详情
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="14">
						<el-form-item label="监管事项类型:"  prop="taskInfo.taskJgType" :rules="rules.taskJgType" label-width="140px">
							
							<el-checkbox-group v-model="fbDetail.taskInfo.taskJgType" @change="changeValue">
							    <el-checkbox label="行政检查" disabled>行政检查</el-checkbox>
							    <el-checkbox label="行政处罚" disabled>行政处罚</el-checkbox>
							    <el-checkbox label="行政强制" disabled>行政强制</el-checkbox>
							    <el-checkbox label="其它" disabled>其它</el-checkbox>
						    
							</el-checkbox-group>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row v-if="fbDetail.taskInfo.taskState!=104" style="margin-bottom: 30px;">						
					<el-col :span="10">
						<el-button v-for="(item,index) in fbDetail.taskInfo.taskJgType" type="primary" size="mini" @click="checkDetail('fbDetail.taskInfo.taskno',index+1)">{{item}}行为信息</el-button>						
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="主要检查内容:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.inspectcontent" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="检查要求:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.inspectclaim" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="22">
						<el-form-item label="备注:"  prop="" label-width="140px">
							<el-input
                                    type="textarea"
                                    disabled
                                    :autosize="{ minRows: 8, maxRows: 8}"
                                    placeholder=""
                                    maxlength="500"
                                    show-word-limit
                                    v-model="fbDetail.taskInfo.remark">
                           	</el-input>								
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="22">
						<el-form-item label="附件:" prop="" label-width="140px">						
							<iframe width="100%"  style="height: 200px;border: none;"   :src="link"></iframe>
						</el-form-item>
					</el-col>
				</el-row>
				<div v-if="fbDetail.taskInfo.taskState==102">
					<el-row>
						<el-col :span="4" class="tab-title">
							任务分办
						</el-col>
					</el-row>
					<el-row>						
						<el-col :span="7">
							<el-form-item label="类型:"  prop="taskFb.fbType" :rules="rules.fbType" label-width="140px">
								<el-select v-model="fbDetail.taskFb.fbType" placeholder="请选择" disabled>
									<el-option label="部门" value="0"></el-option>
									<el-option label="地区" value="1"></el-option>		
								</el-select>
							</el-form-item>
						</el-col>						
					</el-row>
					<el-row v-if="fbDetail.taskFb.fbType=='0'">
						<el-col :span="7">
							<el-form-item label="部级司局名称:"  prop="taskFb.fbBureau" :rules="rules.fbBureau" label-width="140px">
								<el-input v-model="fbDetail.taskFb.fbBureau"  placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
						<el-col :span="8">
							<el-form-item label="处室名称:" prop="taskFb.fbDepartment" label-width="190px">
								<el-input v-model="fbDetail.taskFb.fbDepartment"  placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
					</el-row>
					<el-row v-if="fbDetail.taskFb.fbType=='1'">
						<el-col :span="7">
							<el-form-item label="地方管局名称:"  prop="taskFb.fbBureau" :rules="rules.fbBureau" label-width="140px">
								<el-input v-model="fbDetail.taskFb.fbBureau"  placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
						<el-col :span="8">
							<el-form-item label="处室名称:" prop="taskFb.fbDepartment" label-width="190px">
								<el-input v-model="fbDetail.taskFb.fbDepartment"  placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
					</el-row>
				</div>
				<div v-if="fbDetail.taskInfo.taskState==104">
					<el-row>
						<el-col :span="4" class="tab-title">
							答复内容
						</el-col>
					</el-row>
					<div v-for="(item,index) in fbDetail.taskFk">
						<el-row>						
							<el-col :span="10">
								<el-form-item :label="'反馈类型'+(index+1)+':'"  :prop="'taskFk.'+index+'.fkType'" :rules="rules.fkType" label-width="140px">							
									<el-input v-model="item.fkType" disabled></el-input>
								</el-form-item>
							</el-col>
							<el-col :span="10">
								<el-form-item>
									<el-checkbox-group v-model="item.fkJgTypeList" >
										<el-checkbox label="行政检查" disabled>行政检查</el-checkbox>
										<el-checkbox label="行政处罚" disabled>行政处罚</el-checkbox>
										<el-checkbox label="行政强制" disabled>行政强制</el-checkbox>
										<el-checkbox label="其它" disabled>其它</el-checkbox>
									</el-checkbox-group>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row>						
							<el-col :span="7">
								<el-form-item :label="'反馈意见'+(index+1)+':'"  :prop="'taskFk.'+index+'.fkIdea'" :rules="rules.fkIdea" label-width="140px">
									<el-input v-model="item.fkIdea" placeholder="" disabled></el-input>
								</el-form-item>
							</el-col>
						</el-row>
						<el-row>						
							<el-col :span="7">
								<el-form-item :label="'反馈具体信息'+(index+1)+':'"  :prop="'taskFk.'+index+'.fkInfo'" :rules="rules.fkInfo" label-width="140px">
									<el-input v-model="item.fkInfo" placeholder="" disabled></el-input>
								</el-form-item>
							</el-col>
						</el-row>

						<el-row style="margin-bottom: 30px;">
							<el-col :span="16">
								<el-button v-for="fkJgType in item.fkJgTypeList" type="primary" size="mini" @click="checkFkDetail(fkJgType, item.uuid)">{{fkJgType}}行为信息</el-button>
							</el-col>
						</el-row>
						<!--<el-row style="margin-bottom: 30px;">
							<el-col :span="10">
								<el-button type="primary" size="mini" @click="checkDetail(item.taskNo,1)">行政检查行为信息</el-button>
								<el-button type="primary" size="mini" @click="checkDetail(item.taskNo,2)">行政处罚行为信息</el-button>
								<el-button type="primary" size="mini" @click="checkDetail(item.taskNo,3)">行政强制行为信息</el-button>
								<el-button type="primary" size="mini" @click="checkDetail(item.taskNo,4)">其它行为信息</el-button>
							</el-col>
						</el-row>-->
						<el-row>						
							<el-col :span="22">
								<el-form-item label="附件:" prop="" label-width="140px">						
									<iframe width="100%"  style="height: 200px;border: none;"   :src="link"></iframe>
								</el-form-item>
							</el-col>
						</el-row>
					</div>
				</div>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="从国办接收时间:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.receiveTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="分办时间:"  prop="" label-width="190px">
							<el-input v-model="fbDetail.taskInfo.fbTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="拒绝时间:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskFb.refuseTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="认领时间:"  prop="" label-width="190px">
							<el-input v-model="fbDetail.taskFb.receiveTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="答复时间:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskFb.replyTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="结束时间:"  prop="" label-width="190px">
							<el-input v-model="fbDetail.taskInfo.endTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="反馈时间:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.fkTime" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="viewUniondetail = false;">关闭</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>
		</el-dialog>
		<!--查看联合监管任务分办-->
		<el-dialog title="" :visible.sync="viewDispensedetail" center fullscreen>
			<el-form :model="fbDetail" :rules="rules" ref="fbDetail" label-width="140px">
				<el-row>
					<el-col :span="4" class="tab-title">
						任务书信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="任务编号:"  prop="taskInfo.taskno" :rules="rules.taskno" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.taskno"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="任务名称:" prop="taskInfo.taskname" :rules="rules.taskname" label-width="190px">
							<el-input v-model="fbDetail.taskInfo.taskname"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="任务发起时间:"  prop="taskInfo.taskstarttime" :rules="rules.taskstarttime" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.taskstarttime"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="发起单位类型:" prop="taskInfo.initiateUnitType" :rules="rules.initiateUnitType" label-width="190px">
							<el-select v-model="fbDetail.taskInfo.initiateUnitType" placeholder="请选择"  disabled>
								<el-option label="部门" value="0"></el-option>
								<el-option label="地区" value="1"></el-option>									
							</el-select>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="发起单位编码:"  prop="taskInfo.initiateunitno" :rules="rules.initiateunitno" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.initiateunitno" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="发起单位名称:"  prop="taskInfo.initiateunitname" :rules="rules.initiateunitname" label-width="190px">
							<el-input v-model="fbDetail.taskInfo.initiateunitname" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>				
				</el-row>
				<div v-for="(item,index) in fbDetail.taskXb">
					<el-row>						
						<el-col :span="7">
							<el-form-item label="协办单位类型:"  :prop="'taskXb.'+index+'.unionType'" :rules="rules.unionType" label-width="140px">
								<el-select v-model="item.unionType" placeholder="请选择" disabled>
									<el-option label="部门" value="0"></el-option>
									<el-option label="地区" value="1"></el-option>		
								</el-select>
							</el-form-item>
						</el-col>						
					</el-row>
					<el-row v-if="item.unionType=='0'">	
						<el-col :span="7">
							<el-form-item label="协办部门编码:"  :prop="'taskXb.'+index+'.unionNo'" :rules="rules.unionNo" label-width="140px">
								<el-input v-model="item.unionNo" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
						<el-col :span="8">
							<el-form-item label="协办部门名称:"  :prop="'taskXb.'+index+'.unionName'" :rules="rules.unionName" label-width="190px">
								<el-input v-model="item.unionName" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
								
					</el-row>
					<el-row v-if="item.unionType=='1'">
						<el-col :span="7">
							<el-form-item label="协办地方编码:"  :prop="'taskXb.'+index+'.unionNo'" :rules="rules.unionNo" label-width="140px">
								<el-input v-model="item.unionNo" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>		
						<el-col :span="8">
							<el-form-item label="协办地方名称:" :prop="'taskXb.'+index+'.unionName'" :rules="rules.unionName"  label-width="190px">
								<el-input v-model="item.unionName" placeholder="" disabled></el-input>
							</el-form-item>
						</el-col>
					</el-row>
				</div>
				<el-row>
					<el-col :span="4" class="tab-title">
						监管对象详情信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="监管对象行业类型:"  prop="taskInfo.superviseobjectno" :rules="rules.superviseobjectno" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.superviseobjectno"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="监管对象类型:" prop="superviseObject.objectType" :rules="rules.objectType" label-width="190px">
							<el-input v-model="fbDetail.superviseObject.objectType"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="7">
						<el-form-item label="监管对象名称:"  prop="superviseObject.objectname" :rules="rules.objectname" label-width="140px">
							<el-input v-model="fbDetail.superviseObject.objectname"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="监管对象标识:" prop="superviseObject.enterprisecreditcode" :rules="rules.enterprisecreditcode" label-width="190px">
							<el-input v-model="fbDetail.superviseObject.enterprisecreditcode"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="证件类型:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.superviseObject.certificateType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="证件内容:"  prop="" label-width="190px">
							<el-input v-model="fbDetail.superviseObject.certificateContent" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					
				</el-row>
				<el-row style="margin-bottom: 30px;">
					<el-col :span="7">
						<el-button type="primary" size="mini" @click="viewSupervision()">查看企业监管信息详情</el-button>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						联合监管任务详情
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="10">
						<el-form-item label="监管事项类型:"  prop="taskInfo.taskJgType" :rules="rules.taskJgType" label-width="140px">
							
							<el-checkbox-group v-model="fbDetail.taskInfo.taskJgType" @change="changeValue">
							    <el-checkbox label="行政检查" disabled>行政检查</el-checkbox>
							    <el-checkbox label="行政处罚" disabled>行政处罚</el-checkbox>
							    <el-checkbox label="行政强制" disabled>行政强制</el-checkbox>
							    <el-checkbox label="其它" disabled>其它</el-checkbox>
						    
							</el-checkbox-group>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row style="margin-bottom: 30px;">						
					<el-col :span="10">
						<el-button v-for="(item,index) in fbDetail.taskInfo.taskJgType" type="primary" size="mini" @click="checkDetail('fbDetail.taskInfo.taskno',index+1)">{{item}}行为信息</el-button>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="主要检查内容:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.inspectcontent" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="检查要求:"  prop="" label-width="140px">
							<el-input v-model="fbDetail.taskInfo.inspectclaim" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="22">
						<el-form-item label="备注:"  prop="" label-width="140px">
							<el-input
                                    type="textarea"
                                    disabled
                                    :autosize="{ minRows: 8, maxRows: 8}"
                                    placeholder=""
                                    maxlength="500"
                                    show-word-limit
                                    v-model="fbDetail.taskInfo.remark">
                           	</el-input>								
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="22">
						<el-form-item label="附件:" prop="" label-width="140px">						
							<iframe width="100%"  style="height: 200px;border: none;"   :src="link"></iframe>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						任务分办
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="7">
						<el-form-item label="类型:"  prop="taskFb.fbType" :rules="rules.taskno" label-width="140px">
							<el-select v-model="fbDetail.taskFb.fbType" @change="changeValuetype" placeholder="请选择">
								<el-option label="部门" value="0"></el-option>
								<el-option label="地区" value="1"></el-option>		
							</el-select>
						</el-form-item>
					</el-col>						
				</el-row>
				<el-row v-if="fbDetail.taskFb.fbType=='0'">
					<el-col :span="7">
						<el-form-item label="部级司局名称:"  prop="taskFb.fbBureau" :rules="rules.fbBureau" label-width="140px">
							<el-input v-model="fbDetail.taskFb.fbBureau"  placeholder="" ></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="处室名称:" prop="taskFb.fbDepartment" label-width="190px">
							<el-input v-model="fbDetail.taskFb.fbDepartment"  placeholder="" ></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row v-if="fbDetail.taskFb.fbType=='1'">
					<el-col :span="7">
						<el-form-item label="地方管局名称:"  prop="taskFb.fbBureau" :rules="rules.fbBureau" label-width="140px">
							<el-input v-model="fbDetail.taskFb.fbBureau"  placeholder="" ></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="8">
						<el-form-item label="处室名称:" prop="taskFb.fbDepartment" label-width="190px">
							<el-input v-model="fbDetail.taskFb.fbDepartment"  placeholder="" ></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				
				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="fbSubmit()">提交</el-button>
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="viewDispensedetail = false;cancel();">取消</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>
		</el-dialog>
		<!--查看企业监管信息详情-->
		<el-dialog title="" :visible.sync="viewSupdetail" center fullscreen>
			<el-form :model="supDetail" :rules="rules" ref="supDetail" label-width="140px">
				<el-row>
					<el-col :span="4" class="tab-title">
						企业信用评估
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="9">
						<el-form-item label="企业名称:"  prop="creditAssessInfo.enterpriseName" :rules="rules.enterpriseName" label-width="140px">
							<el-input v-model="supDetail.creditAssessInfo.enterpriseName"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="评估日期:" prop="creditAssessInfo.columnTime" :rules="rules.columnTime" label-width="250px">
							<el-input v-model="supDetail.creditAssessInfo.columnTime"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="9">
						<el-form-item label="企业证件类型:"  prop="creditAssessInfo.enterpriseIdType" :rules="rules.enterpriseIdType" label-width="140px">
							<el-input v-model="supDetail.creditAssessInfo.enterpriseIdType"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="企业证件号码:" prop="creditAssessInfo.enterpriseCreditCode" :rules="rules.enterpriseCreditCode" label-width="250px">
							<el-input v-model="supDetail.creditAssessInfo.enterpriseCreditCode"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="企业分数:"  prop="creditAssessInfo.enterpriseMark" :rules="rules.enterpriseMark" label-width="140px">
							<el-input v-model="supDetail.creditAssessInfo.enterpriseMark" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="企业分类:"  prop="creditAssessInfo.enterpriseType" :rules="rules.enterpriseType" label-width="250px">
							<el-input v-model="supDetail.creditAssessInfo.enterpriseType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>				
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						企业经营异常名录信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="9">
						<el-form-item label="企业名称:"  prop="abnormalInfo.enterpriseName" :rules="rules.enterpriseName" label-width="140px">
							<el-input v-model="supDetail.abnormalInfo.enterpriseName"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="企业统一社会信用代码:" prop="abnormalInfo.enterpriseCreditCode" :rules="rules.enterpriseCreditCode" label-width="250px">
							<el-input v-model="supDetail.abnormalInfo.enterpriseCreditCode"  placeholder=""  disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="9">
						<el-form-item label="列入决定机关:"  prop="abnormalInfo.abnormalPutdptm" :rules="rules.abnormalPutdptm" label-width="140px">
							<el-input v-model="supDetail.abnormalInfo.abnormalPutdptm"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="列入日期:" prop="abnormalInfo.abnormalPutdate" :rules="rules.abnormalPutdate" label-width="250px">
							<el-input v-model="supDetail.abnormalInfo.abnormalPutdate"  placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="列入原因:"  prop="abnormalInfo.abnormalPutrs" :rules="rules.abnormalPutrs" label-width="140px">
							<el-input v-model="supDetail.abnormalInfo.abnormalPutrs" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="移出决定机关:"  prop="abnormalInfo.abnormalListPutdptm" :rules="rules.abnormalListPutdptm" label-width="250px">
							<el-input v-model="supDetail.abnormalInfo.abnormalListPutdptm" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>	
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="移出日期:"  prop="abnormalInfo.abnormalListDate" :rules="rules.abnormalListDate" label-width="140px">
							<el-input v-model="supDetail.abnormalInfo.abnormalListDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="11">
						<el-form-item label="移出原因:"  prop="abnormalInfo.abnormalListRreasons" :rules="rules.abnormalListRreasons" label-width="250px">
							<el-input v-model="supDetail.abnormalInfo.abnormalListRreasons" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						企业严重违法信息
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="企业名称:"  prop="seriousIllegalInfo.enterpriseName" :rules="rules.enterpriseName" label-width="140px">
							<el-input v-model="supDetail.seriousIllegalInfo.enterpriseName" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>						
					<el-col :span="11">
						<el-form-item label="企业统一社会信用代码:"  prop="seriousIllegalInfo.enterpriseCreditCode" :rules="rules.enterpriseCreditCode" label-width="250px">
							<el-input v-model="supDetail.seriousIllegalInfo.enterpriseCreditCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				
				<el-row>						
					<el-col :span="9">
						<el-form-item label="列入决定机关:"  prop="seriousIllegalInfo.illegalDepartment" :rules="rules.illegalDepartment" label-width="140px">
							<el-input v-model="supDetail.seriousIllegalInfo.illegalDepartment" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>						
					<el-col :span="11">
						<el-form-item label="列入日期:"  prop="seriousIllegalInfo.illegalPutDate" :rules="rules.illegalPutDate" label-width="250px">
							<el-input v-model="supDetail.seriousIllegalInfo.illegalPutDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="20">
						<el-form-item label="列入严重违法失信企业名单原因:"  prop="seriousIllegalInfo.illegalReason" :rules="rules.illegalReason" label-width="140px">
							<el-input v-model="supDetail.seriousIllegalInfo.illegalReason" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="移出决定机关:"  prop="seriousIllegalInfo.illegalListPutdptm" :rules="rules.illegalListPutdptm" label-width="140px">
							<el-input v-model="supDetail.seriousIllegalInfo.illegalListPutdptm" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="移出日期:"  prop="seriousIllegalInfo.illegalListDate" :rules="rules.illegalListDate" label-width="250px">
							<el-input v-model="supDetail.seriousIllegalInfo.illegalListDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="20">
						<el-form-item label="移出原因:"  prop="seriousIllegalInfo.illegalListRreasons" :rules="rules.illegalListRreasons" label-width="140px">
							<el-input v-model="supDetail.seriousIllegalInfo.illegalListRreasons" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<!--<el-row>						
					<el-col :span="22">
						<el-form-item label="备注:"  prop="" label-width="140px">
							<el-input
                                    type="textarea"
                                    disabled
                                    :autosize="{ minRows: 8, maxRows: 8}"
                                    placeholder=""
                                    maxlength="500"
                                    show-word-limit
                                    v-model="fbDetail.taskInfo.remark">
                           	</el-input>								
						</el-form-item>
					</el-col>
				</el-row>-->
				
				<el-row>
					<el-col :span="4" class="tab-title">
						企业投诉信息
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="投诉对象:"  prop="complaintInfo.complaintObject" :rules="rules.complaintObject" label-width="140px">
							<el-input v-model="supDetail.complaintInfo.complaintObject" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="投诉对象统一社会信用代码:"  prop="complaintInfo.complaintObjectCertCode" :rules="rules.complaintObjectCertCode" label-width="250px">
							<el-input v-model="supDetail.complaintInfo.complaintObjectCertCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="投诉问题类型:"  prop="complaintInfo.complaintType" :rules="rules.complaintType" label-width="140px">
							<el-input v-model="supDetail.complaintInfo.complaintType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="投诉属地:"  prop="complaintInfo.complaintTerritory" :rules="rules.complaintTerritory" label-width="250px">
							<el-input v-model="supDetail.complaintInfo.complaintTerritory" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="商品/服务类型:"  prop="complaintInfo.serviceType" :rules="rules.serviceType" label-width="140px">
							<el-input v-model="supDetail.complaintInfo.serviceType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="商品/服务名称:"  prop="complaintInfo.serviceName" :rules="rules.serviceName" label-width="250px">
							<el-input v-model="supDetail.complaintInfo.serviceName" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="争议发生日期:"  prop="complaintInfo.disputeDate" :rules="rules.disputeDate" label-width="140px">
							<el-input v-model="supDetail.complaintInfo.disputeDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="投诉内容:"  prop="complaintInfo.complaintDetail" :rules="rules.complaintDetail" label-width="250px">
							<el-input v-model="supDetail.complaintInfo.complaintDetail" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						企业举报信息
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="举报对象:"  prop="tipInfo.tipObject" :rules="rules.tipObject" label-width="140px">
							<el-input v-model="supDetail.tipInfo.tipObject" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="举报对象统一社会信用代码:"  prop="tipInfo.enterpriseCreditCode" :rules="rules.enterpriseCreditCode" label-width="250px">
							<el-input v-model="supDetail.tipInfo.enterpriseCreditCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="举报问题类型:"  prop="tipInfo.tipType" :rules="rules.tipType" label-width="140px">
							<el-input v-model="supDetail.tipInfo.tipType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="举报属地:"  prop="tipInfo.tipTerritory" :rules="rules.tipTerritory" label-width="250px">
							<el-input v-model="supDetail.tipInfo.tipTerritory" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="商品/服务类型:"  prop="tipInfo.serviceType" :rules="rules.serviceType" label-width="140px">
							<el-input v-model="supDetail.tipInfo.serviceType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="商品/服务名称:"  prop="tipInfo.serviceName" :rules="rules.serviceName" label-width="250px">
							<el-input v-model="supDetail.tipInfo.serviceName" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="争议发生日期:"  prop="tipInfo.disputeDate" :rules="rules.disputeDate" label-width="140px">
							<el-input v-model="supDetail.tipInfo.disputeDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="举报内容:"  prop="tipInfo.tipDetail" :rules="rules.tipDetail" label-width="250px">
							<el-input v-model="supDetail.tipInfo.tipDetail" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="4" class="tab-title">
						企业风险预警信息
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="风险预警对象:"  prop="riskWarningInfo.riskObject" :rules="rules.riskObject" label-width="140px">
							<el-input v-model="supDetail.riskWarningInfo.riskObject" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="风险预警统一社会信用代码:"  prop="riskWarningInfo.riskObjectCertcode" :rules="rules.riskObjectCertcode" label-width="250px">
							<el-input v-model="supDetail.riskWarningInfo.riskObjectCertcode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="风险预警信号ID:"  prop="riskWarningInfo.riskId" :rules="rules.riskId" label-width="140px">
							<el-input v-model="supDetail.riskWarningInfo.riskId" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="所属领域:"  prop="riskWarningInfo.domainss" :rules="rules.domains" label-width="250px">
							<el-input v-model="supDetail.riskWarningInfo.domains" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="所属省份:"  prop="riskWarningInfo.province" :rules="rules.province" label-width="140px">
							<el-input v-model="supDetail.riskWarningInfo.province" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="风险信号标题:"  prop="riskWarningInfo.title" :rules="rules.title" label-width="250px">
							<el-input v-model="supDetail.riskWarningInfo.title" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="风险信号等级:"  prop="riskWarningInfo.level" :rules="rules.level" label-width="140px">
							<el-input v-model="supDetail.riskWarningInfo.level" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="风险信号发生时间:"  prop="riskWarningInfo.createAt" :rules="rules.createAt" label-width="250px">
							<el-input v-model="supDetail.riskWarningInfo.createAt" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="9">
						<el-form-item label="风险信号数据来源:"  prop="riskWarningInfo.source" :rules="rules.source" label-width="140px">
							<el-input v-model="supDetail.riskWarningInfo.source" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
						
					<el-col :span="11">
						<el-form-item label="风险信号触发规则:"  prop="riskWarningInfo.ruleId" :rules="rules.ruleId" label-width="250px">
							<el-input v-model="supDetail.riskWarningInfo.ruleId" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>						
					<el-col :span="20">
						<el-form-item label="信号详情:"  prop="riskWarningInfo.props" :rules="rules.props" label-width="140px">
							<el-input v-model="supDetail.riskWarningInfo.props" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="viewSupdetail = false;">返回</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>
		</el-dialog>
		<!-- 行政检查行为 -->
		<el-dialog title="" :visible.sync="adminDialogForm" center fullscreen>
			<el-form :model="admin" :rules="rules" ref="admin" label-width="160px">
				<el-row>
					<el-col :span="4" class="tab-title">
						行政检查行为信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管事项目录编码：" prop="superviseItemImplementCode">
							<el-input v-model="admin.superviseItemImplementCode" placeholder="" disabled></el-input>							
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查行为名称:" prop="checkActionName">
							<el-input v-model="admin.checkActionName" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="实施机构编码:" prop="implementInstitutionCode">
							<el-input v-model="admin.implementInstitutionCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="实施机构:" prop="implementInstitution">
							<el-input v-model="admin.implementInstitution" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>

					<el-col :span="10">
						<el-form-item label="检查行为编号:" prop="checkActionCode">
							<el-input v-model="admin.checkActionCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="监管对象标识:" prop="jcdxEntity.enterprisecreditcode" :rules="rules.enterprisecreditcode">
							<el-input v-model="admin.jcdxEntity.enterprisecreditcode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>

					<el-col :span="10">
						<el-form-item label="监管对象名称:" prop="jcdxEntity.objectname" :rules="rules.objectname">
							<el-input v-model="admin.jcdxEntity.objectname" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查形式:" prop="checkForm">
							<el-input v-model="admin.checkForm" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查类别:" prop="checkType">
							<el-input v-model="admin.checkType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查方式:" prop="checkMode">
							<el-input v-model="admin.checkMode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查结果:" prop="checkResult">
							<el-input v-model="admin.checkResult" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查时间:" prop="checkDate">
							<el-input v-model="admin.checkDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="检查人员:" prop="checkPersonnel">
							<el-input v-model="admin.checkPersonnel" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>

				</el-row>

				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="adminDialogForm = false;">返 回</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>
		</el-dialog>

		<!-- 行政处罚行为信息 -->
		<el-dialog title="" :visible.sync="punishDialogForm" center fullscreen>
			<el-form :model="punish" :rules="rules" ref="punish" label-width="170px">
				<el-row>
					<el-col :span="4" class="tab-title">
						行政处罚行为信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管事项目录编码:" prop="superviseItemCode">
							<el-input v-model="punish.superviseItemCode" placeholder="" disabled></el-input>						
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="处罚行为名称:" prop="punishActionName">
							<el-input v-model="punish.punishActionName" placeholder="" disabled></el-input>						
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="处罚行为编号:" prop="punishActionCode">
							<el-input v-model="punish.punishActionCode" placeholder="" disabled></el-input>	
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管对象标识:" prop="jcdxEntity.enterprisecreditcode" :rules="rules.enterprisecreditcode">
							<el-input v-model="punish.jcdxEntity.enterprisecreditcode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="监管对象名称:" prop="jcdxEntity.objectname" :rules="rules.enterprisecreditcode">
							<el-input v-model="punish.jcdxEntity.objectname" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item label="案件来源:" prop="caseSource"  >
							<el-select v-model="punish.caseSource" placeholder="" disabled></el-select>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item label="违法事实:" prop="illegalFact">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="punish.illegalFact">
                          </el-input>								
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item label="处罚依据:" prop="punishAccord">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="punish.punishAccord">
                         	</el-input>				
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="处罚程序:" prop="punishProcedure">
							<el-input v-model="punish.punishProcedure" placeholder="" disabled></el-input>	
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="处罚文书号:" prop="punishDocumentCode">
							<el-input v-model="punish.punishDocumentCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="作出行政处罚决定日期:" prop="setDate">
							<el-input v-model="punish.setDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item label="处罚结果:" prop="penaltyResult">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="punish.penaltyResult">
                        	</el-input>		
						</el-form-item>
					</el-col>
				</el-row>
		
				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="punishDialogForm = false;">返 回</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>
		</el-dialog>

		<!-- 行政强制行为信息 -->
		<el-dialog title="" :visible.sync="forceDialogForm" center fullscreen>
			<el-form :model="force" :rules="rules" ref="force" label-width="160px">
				<el-row>
					<el-col :span="4" class="tab-title">
						行政强制行为信息
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管事项目录编码：" prop="superviseItemCode">
							<el-input v-model="force.superviseItemCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="强制行为名称:" prop="forceActionName">
							<el-input v-model="force.forceActionName" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="强制行为编号:" prop="forceActionCode">
							<el-input v-model="force.forceActionCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管对象标识:" prop="jcdxEntity.objectMark" :rules="rules.objectMark">
							<el-input v-model="force.jcdxEntity.objectMark" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item   label="监管对象名称:" prop="jcdxEntity.objectname" :rules="rules.objectname">
							<el-input v-model="force.jcdxEntity.objectname" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item   label="违法事实:" prop="illegalFact">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="force.illegalFact">
                        	</el-input>		
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item   label="行政强制种类:" prop="forceType" >
							<el-input v-model.trim="force.forceType" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item   label="强制措施类型:" prop="coerciveMeasureType">
							<el-input v-model="force.coerciveMeasureType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item   label="强制执行类型:" prop="forceExecutionType">
							<el-input v-model="force.forceExecutionType" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="20">
						<el-form-item label="强制结果:" prop="mandatoryDecisionPatify">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="force.mandatoryDecisionPatify">
                        	</el-input>		
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="10">
						<el-form-item label="实施强制措施日期:" prop="mandatoryDecisionSevDate">
							<el-input v-model="force.mandatoryDecisionSevDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="强制措施延长期限:" prop="forceExtendDate">
							<el-input v-model="force.forceExtendDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>

				</el-row>
				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="forceDialogForm = false;">返 回</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>

		</el-dialog>

		<!-- 其他行为信息 -->
		<el-dialog title="" :visible.sync="otherDialogForm" center fullscreen>
			<el-form :model="other" :rules="rules" ref="other" label-width="160px">
				<el-row>
					<el-col :span="4" class="tab-title">
						其他行为信息
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管事项目录编码：" prop="superviseItemCode">
							<el-input v-model="other.superviseItemCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="10">
						<el-form-item label="行为名称:" prop="actionName">
							<el-input v-model="other.actionName" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="行为编号:" prop="actionCode">
							<el-input v-model="other.actionCode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="10">
						<el-form-item label="监管对象标识:" prop="jcdxEntity.enterprisecreditcode" :rules="rules.enterprisecreditcode">
							<el-input v-model="other.jcdxEntity.enterprisecreditcode" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="监管对象名称:" prop="jcdxEntity.objectname" :rules="rules.objectname">
							<el-input v-model="other.jcdxEntity.objectname" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="20">
						<el-form-item label="事项来源:" prop="itemSource">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="other.itemSource">
                        	</el-input>		
						</el-form-item>
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="20">
						<el-form-item label="监管措施:" prop="superviseMeasure">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="other.superviseMeasure">
                        	</el-input>		
							
						</el-form-item>
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="20">
						<el-form-item label="结案情况:" prop="closingCase">
							<el-input
                                type="textarea"
                                disabled
                                :autosize="{ minRows: 8, maxRows: 8}"
                                placeholder=""
                                maxlength="500"
                                show-word-limit
                                v-model="other.closingCase">
                        	</el-input>		
							
						</el-form-item>
					</el-col>
				</el-row>				
				<el-row>
					<el-col :span="10">
						<el-form-item label="开始时间:" prop="startDate">
							<el-input v-model="other.startDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="10">
						<el-form-item label="结束时间:" prop="endDate">
							<el-input v-model="other.endDate" placeholder="" disabled></el-input>
						</el-form-item>
					</el-col>
				</el-row>
				<el-row>
					<el-col :span="22">
						<div style="float:right;">
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="otherDialogForm = false;">返 回</el-button>
						</div>
					</el-col>
				</el-row>
			</el-form>
		</el-dialog>
	</div>
</div>
<script>
    var vm = new Vue({
        el: '#app',
        data() {
            return {
            	uuid:'',
                link:'',                
				viewUniondetail: false, //查看联合监管任务详情
				viewDispensedetail: false,
				viewSupdetail: false,
				adminDialogForm : false,
				punishDialogForm : false,
				forceDialogForm : false,
				otherDialogForm : false,
                currentPage: 1, //默认显示页面为1
                pagesize: 10, // 每页的数据条数
                tableTotal:'',
				fbDetail: {
				 	taskInfo : {
                        id : '',
                        taskno : '',
                        taskname : '',
                        taskstarttime : '',
						taskState : '',
						
						initiateunitno : '',
						initiateunitname : '',
						initiateUnitType : '',
						unionUnitType : '',
						
                        uniondeptno : '',
                        unionName : '',
                        unionAreaNo : '',
                        unionAreaName : '',
                        taskJgType : '',
                        superviseobjectno : '',
                        inspectcontent : '',
                        inspectclaim : '',
                        remark : '',
                        receiveTime:'',
                        fbTime:'',
                        endTime:'',
                        fkTime:'',
                        
					},
					taskXb:[{
						rwxbId: '',
						taskNo: '',
						unionType: '',
						unionName: '',
						unionNo: ''
					}],
					superviseObject : {
				 	    taskno : '',
						objectType : '',
						objectname : '',
						enterprisecreditcode : '',
						certificateType : '',
						certificateContent : '',
						
					},
					taskFb:{
						fbId:'',
						fbType:'',
						fbBureau:'',
						fbDepartment:'',
						refuseTime:'',
						receiveTime:'',
						replyTime:''
					},
					taskFk:[{
				 	    uuid : '',
						taskNo:'',
						fkType:'',
						fkIdea:'',
						fkInfo:'',
                        superviseItemCode : '',
                        fkJgTypeList : [],
					}]

                },
                supDetail:{
                	creditAssessInfo:{
                		enterpriseName:'',
                		columnTime:'',
                		enterpriseIdType:'',
                		enterpriseCreditCode:'',
                		enterpriseMark:'',
                		enterpriseType:''
                	},
                	abnormalInfo:{
                		enterpriseName:'',
                		enterpriseCreditCode:'',
                		abnormalPutdptm:'',
                		abnormalPutdate:'',
                		abnormalPutrs:'',
                		abnormalListPutdptm:'',
                		abnormalListDate:'',
                		abnormalListRreasons:''
                	},
                	seriousIllegalInfo:{
                		enterpriseName:'',
                		enterpriseCreditCode:'',
                		illegalDepartment:'',
                		illegalPutDate:'',
                		illegalReason:'',
                		illegalListPutdptm:'',
                		illegalListDate:'',
                		illegalListRreasons:''
                	},
                	complaintInfo:{
                		complaintObject:'',
                		complaintObjectCertCode:'',
                		complaintType:'',
                		complaintTerritory:'',
                		serviceType:'',
                		serviceName:'',
                		disputeDate:'',
                		complaintDetail:''
                	},
                	tipInfo:{
                		tipObject:'',
                		enterpriseCreditCode:'',
                		tipType:'',
                		tipTerritory:'',
                		serviceType:'',
                		serviceName:'',
                		disputeDate:'',
                		tipDetail:''
                	},
                	riskWarningInfo:{
                		riskObject:'',
                		riskObjectCertcode:'',
                		riskId:'',
                		domains:'',
                		province:'',
                		title:'',
                		level:'',
                		createAt:'',
                		source:'',
                		ruleId:'',
                		props:''
                	}
                },
                rules: {
                    taskno : [{
                        required : true,
						message : '任务编码必填',
						trigger : 'blur'
					}],
					taskname : [{
                        required : true,
						message : '任务名称必填',
						trigger : 'blur'
					}],
                    taskstarttime : [{
                        required : true,
						message : '任务发起时间必填',
						trigger : 'blur'
					}],
                    initiateUnitNo : [{
                        required : true,
						message : '发起单位编码必填',
						trigger : 'blur'
					}],
                    initiateUnitName : [{
                        required : true,
						message : '发起单位名称必填',
						trigger : 'blur'
					}],
                    initiateUnitType : [{
                        required : true,
						message : '发起单位类型必填',
						trigger : 'blur'
					}],
					unionType: [{
                        required : true,
						message : '协办单位类型必填',
						trigger : 'blur'
					}],
					unionNo : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					unionName :[{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					unionAreaNo : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					unionAreaName: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					superviseobjectno: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					objectType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					objectname: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					enterprisecreditcode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					taskJgType: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					fbType: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					fbBureau : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					fkType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					fkIdea : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					fkInfo: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
                    superviseObjectType : [{
                        required : true,
						message : '监管对象类型必填',
						trigger : 'blur'
					}],
                    superviseObjectName : [{
                        required : true,
						message : '监管对象名称必填',
						trigger : 'blur'
					}],
                    superviseObjectCode : [{
                        required : true,
						message : '监管对象标识必填',
						trigger : 'blur'
					}],
					enterpriseName : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					columnTime : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					enterpriseIdType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					enterpriseCreditCode : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					enterpriseMark : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					enterpriseType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					initiateunitno : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					initiateunitname : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					abnormalPutdptm : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					abnormalPutdate : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					abnormalPutrs : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					abnormalListPutdptm : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					abnormalListDate : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					abnormalListRreasons : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalDepartment : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalPutDate : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalReason : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalListPutdptm : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalListDate : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalListRreasons : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					complaintObject : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					complaintObjectCertCode : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					complaintType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					complaintTerritory : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					serviceType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					serviceName : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					disputeDate : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					complaintDetail : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					tipObject : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					tipType : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					tipTerritory : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					tipDetail : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					riskObject : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					riskObjectCertcode : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					riskId : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					domains : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					province : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					title : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					level : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					createAt : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					source : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					ruleId : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					props : [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
                	superviseItemImplementCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],	
					checkActionName: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],	
					implementInstitutionCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],	
					implementInstitution: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],	
					checkActionCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],	
					checkForm: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],	
					checkType: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					checkMode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					checkResult: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					checkDate: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					checkPersonnel: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					superviseItemCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					punishActionName: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					punishActionCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					illegalFact: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					punishAccord: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					punishProcedure: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					punishDocumentCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					setDate: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					penaltyResult: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					forceActionName: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					forceActionCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					coerciveMeasureType: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					forceExecutionType: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					mandatoryDecisionPatify: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					mandatoryDecisionSevDate: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					forceExtendDate: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					objectMark: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					actionName: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					actionCode: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					itemSource: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					superviseMeasure: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					closingCase: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					startDate: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}],
					endDate: [{
                        required : true,
						message : '必填',
						trigger : 'blur'
					}]
                },
                admin: {
                    checkActionCode: "",
                    checkActionName: "",
                    checkDate: "",
                    checkForm: "",
                    checkMode: "",
                    checkPersonnel: "",
                    checkResult: "",
                    checkType: "",
                    id: '',
                    implementInstitution: "",
                    implementInstitutionCode: "",
                    jcdxEntity:{
                        cerificateType: '',
                        certificateContent: '',
                        enterprisecreditcode: "",
                        objectMark: '',
                        objectType: '',
                        objectname: "",
                        taskno: ""
                    },
                    superviseItemImplementCode: "",
                    superviseObject: ""
                },

				punish:{					
		          	id : '',
                    caseSource:'',
                    superviseItemCode : '',
                    punishActionName : '',
                    punishActionCode : '',
                    illegalFact : '',
                    punishAccord : '',
                    punishProcedure : '',
                    punishDocumentCode : '',
                    setDate : '',
                    penaltyResult : '',
                    jcdxEntity : {
                        enterprisecreditcode : '',
                        objectname : '',
					}
				},
				force:{
				    id : '',
                    forceType:'',
                    superviseItemCode : '',
                    forceActionName : '',
                    forceActionCode : '',
                    illegalFact : '',
                    coerciveMeasureType : '',
                    forceExecutionType : '',
                    mandatoryDecisionPatify : '',
                    mandatoryDecisionSevDate : '',
                    forceExtendDate : '',
                    jcdxEntity : {
                        objectMark : '',
                        objectname : '',
					}
      
				},
				other:{
		          	superviseItemCode : '',
                    actionName : '',
                    actionCode : '',
                    itemSource : '',
                    superviseMeasure : '',
                    closingCase : '',
                    startDate : '',
                    endDate : '',
                    jcdxEntity : {
                        enterprisecreditcode : '',
                        objectname : '',
					}     
				},
                dialogForm: false,
                selectForm: {
                    taskname : '',
                    taskJgType : '',
                    objectname : '',
                    fbBureau : '',
                    fbDepartment :'',
                    taskStartTime1 : '',
                    taskStartTime2 : '',
                    taskReceiveTime1:'',
                    taskReceiveTime2:'',
                    taskState : ''
                },

                currentRow: null,
                tableData: [],
                showOnSubmit: true,
                showOnReplace: false
            }
        },
        created() {
            /* 地区加载数据 */
            axios.get('../../../json/ChinaCity.json').then(res => {
                this.provinceData = res.data;
			}).catch(e => {
					this.$message.error("网络连接超时");
			});
            var userInfo = JSON.parse(localStorage.getItem('userInfo'));
       		console.log(userInfo);
        },
        mounted(){
            this.getData();
        },
        methods: {
            getData() {
                axios({
                    method: 'get',
                    url: '/dzjzfjg/lhjgrwbl/list',
                    params: {
                        pageSize: this.pagesize,
                        pageNo: this.currentPage,
                        taskname : this.selectForm.taskname.trim(),
                        taskJgType : this.selectForm.taskJgType,
                        objectname : this.selectForm.objectname.trim(),
                        fbBureau : this.selectForm.fbBureau,
                        fbDepartment : this.selectForm.fbDepartment,
                        createStartTime : this.selectForm.taskStartTime1,
                        createEndTime : this.selectForm.taskStartTime2,
                        receiveStartTime : this.selectForm.taskReceiveTime1,
                        receiveEndTime : this.selectForm.taskReceiveTime2,
                        taskState : this.selectForm.taskState
                    }
                })
				.then(response => {
					let data = response.data;
					console.log(data)
					if (data.code == 200) {
						let dataInformation = data.data.results;
						this.tableTotal = data.data.total;// 数据长度

						this.tableData = dataInformation;
					} else {
						this.$message.error(data.msg);
					}
				})
				.catch(function (error) {
					console.log(error);
				});
            },
                       
            // 分办提交
            fbSubmit() {
            	axios({
                    method: 'get',
                    url: '/dzjzfjg/lhjgrwbl/fbtask',
                   	params: {
                        taskno: this.fbDetail.taskInfo.taskno,
                        fbBureau: this.fbDetail.taskFb.fbBureau,
                        fbDepartment:this.fbDetail.taskFb.fbDepartment,
                        fbType: this.fbDetail.taskFb.fbType
                    }
                })
                .then((response) => {
                    let data = response.data;
                    if (data.code == 200) {
                        this.viewDispensedetail = false;
                        this.$message({
                            type: 'success',
                            message: '提交成功!'
                        });
                        this.getData();
                    } else {
                        this.$message.error(data.msg);
                    }
                });
//              this.$refs.launchTask.validate((valid) => {
//                  if (valid) {
//                      axios({
//                          method: 'post',
//                          url: '/dzjzfjg/clue/add',
//                          data: this.launchTask
//                      })
//                      .then((response) => {
//                          let data = response.data;
//                          if (data.code == 200) {
//                              this.dialogForm = false;
//                              this.$message({
//                                  type: 'success',
//                                  message: '提交成功!'
//                              });
//                              this.getData();
//                          } else {
//                              this.$message.error(data.msg);
//                          }
//                      });
//                  }
//              })

           	},
            handleChange(value) {
                console.log(value);
            },
            /* 单选搜索表单 */
            selectCurrentChange(val){
                this.currentRow = val;
            },
            /* 列表页搜索 */
            searchForm() {
            	this.currentPage = 1;
                axios({
                    method: 'get',
                    url: '/dzjzfjg/lhjgrwbl/list',
                    params: {
                        pageSize: this.pagesize,
                        pageNo: this.currentPage,
                        taskname : this.selectForm.taskname.trim(),
                        taskJgType : this.selectForm.taskJgType,
                        objectname : this.selectForm.objectname.trim(),
                        fbBureau : this.selectForm.fbBureau,
                        fbDepartment : this.selectForm.fbDepartment,
                        createStartTime : this.selectForm.taskStartTime1,
                        createEndTime : this.selectForm.taskStartTime2,
                        receiveStartTime : this.selectForm.taskReceiveTime1,
                        receiveEndTime : this.selectForm.taskReceiveTime2,
                        taskState : this.selectForm.taskState
                    }
                })
                .then(response => {
                    let data = response.data;
                    console.log(data);
                    if (data.code == 200) {
                        let dataInformation = data.data.results;
                        this.tableTotal = data.data.total;// 数据长度

                        this.tableData = dataInformation;
                    } else {
                        this.$message.error(data.msg);
                    }
                })
                .catch(function (error) {
                    console.log(error);
                });
            },
            // 判断开始时间是否大于结束时间
			changeStartDate() {
				if(this.selectForm.taskStartTime1 != "" && this.selectForm.taskStartTime2 != "") {
					if(this.selectForm.taskStartTime1 > this.selectForm.taskStartTime2) {
                        this.$message.error("任务发起开始日期必须小于等于结束日期");
                        return;
					}
				}
			},
			changeReceiveDate() {
				if(this.selectForm.taskReceiveTime1 != "" && this.selectForm.taskReceiveTime2 != "") {
					if(this.selectForm.taskReceiveTime1 > this.selectForm.taskReceiveTime2) {
                        this.$message.error("任务接收开始日期必须小于等于结束日期");
                        return;
					}
				}
			},
            /* 列表页重置 */
            resetForm(formName) {
                this.selectForm.taskname = '';
				this.selectForm.taskJgType = '';
                this.selectForm.objectname = '';
                this.selectForm.fbBureau = '';
                this.selectForm.fbDepartment = '';
                this.selectForm.taskStartTime1 = '';
                this.selectForm.taskStartTime2 = '';
                this.selectForm.taskReceiveTime1 = '';
                this.selectForm.taskReceiveTime2 = '';
                this.selectForm.taskState = '';
              	this.searchForm();
            },
            //每页下拉显示数据
            handleSizeChange(size) {
                this.pagesize = size;
                this.getData();
            },
            //点击第几页
            handleCurrentChange(currentPage) {
                this.currentPage = currentPage;
                this.getData();
            },
			checkDetail(taskno,type){
				console.log(taskno)	
				console.log(type)
				if(type =='1'){
					//行政检查行为信息
					this.adminDialogForm = true;
					axios({
	                    method: 'get',
	                    url: '/dzjzfjg/lhjgrwbl/findOneByCode',
	                    params: {
	                        taskNo: this.fbDetail.taskInfo.taskno,
	                        superviseItemCode: type
	                    }
	                })
	                .then(response => {
	                    console.log(response);
	                    if (response.data.code == 200) {
	                    	if(response.data.rwjgLhVo2.jgJgxwCheckActionEntity!=null){
	                    		this.admin = response.data.rwjgLhVo2.jgJgxwCheckActionEntity;
	                    	}
	                    	if(response.data.rwjgLhVo2.jgLhjgJcdxEntity!=null){
	                    		this.admin.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;
	                    	}else{
	                    		this.admin.jcdxEntity = {
	                    			cerificateType: '',
			                        certificateContent: '',
			                        enterprisecreditcode: "",
			                        objectMark: '',
			                        objectType: '',
			                        objectname: "",
			                        taskno: ""
	                    		}
	                    	}
	                    } else {
	                        this.$message.error(data.msg);
	                    }
	                })
	                .catch(function (error) {
	                    console.log(error);
	                });
				}else if(type =='2'){
					//行政处罚行为信息
					this.punishDialogForm = true;
					axios({
	                    method: 'get',
	                    url: '/dzjzfjg/lhjgrwbl/findOneByCode',
	                    params: {
	                        taskNo: this.fbDetail.taskInfo.taskno,
	                        superviseItemCode: type
	                    }
	                })
	                .then(response => {
	                    console.log(response);
	                    if (response.data.code == 200) {
	                    	if(response.data.rwjgLhVo2.jgJgxwPunishActionEntity!=null){
	                    		this.punish = response.data.rwjgLhVo2.jgJgxwPunishActionEntity;
	                    	}
	                    	if(response.data.rwjgLhVo2.jgLhjgJcdxEntity!=null){
	                    		this.punish.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;
	                    	}else{
	                    		this.punish.jcdxEntity = {
	                    			cerificateType: '',
			                        certificateContent: '',
			                        enterprisecreditcode: "",
			                        objectMark: '',
			                        objectType: '',
			                        objectname: "",
			                        taskno: ""
	                    		}
	                    	}
	                    } else {
	                        this.$message.error(data.msg);
	                    }
	                })
	                .catch(function (error) {
	                    console.log(error);
	                });
				}else if(type =='3'){
					//行政强制行为信息
					this.forceDialogForm = true;
					axios({
	                    method: 'get',
	                    url: '/dzjzfjg/lhjgrwbl/findOneByCode',
	                    params: {
	                        taskNo: this.fbDetail.taskInfo.taskno,
	                        superviseItemCode: type
	                    }
	                })
	                .then(response => {
	                    console.log(response);
	                    if (response.data.code == 200) {
	                    	if(response.data.rwjgLhVo2.jgJgxwForceActionEntity!=null){
	                    		this.force = response.data.rwjgLhVo2.jgJgxwForceActionEntity;
	                    	}
	                        if(response.data.rwjgLhVo2.jgLhjgJcdxEntity!=null){
	                        	this.force.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;
	                        }else{
	                    		this.force.jcdxEntity = {
	                    			cerificateType: '',
			                        certificateContent: '',
			                        enterprisecreditcode: "",
			                        objectMark: '',
			                        objectType: '',
			                        objectname: "",
			                        taskno: ""
	                    		}
	                    	}
	                    } else {
	                        this.$message.error(data.msg);
	                    }
	                })
	                .catch(function (error) {
	                    console.log(error);
	                });
				}else{
					//其它行为信息
					this.otherDialogForm = true;
					axios({
	                    method: 'get',
	                    url: '/dzjzfjg/lhjgrwbl/findOneByCode',
	                    params: {
	                        taskNo: this.fbDetail.taskInfo.taskno,
	                        superviseItemCode: type
	                    }
	                })
	                .then(response => {
	                    console.log(response);
	                    if (response.data.code == 200) {
	                    	if(response.data.rwjgLhVo2.jgJgxwOtherActionEntity!=null){
	                    		this.other = response.data.rwjgLhVo2.jgJgxwOtherActionEntity;
	                    	}
	                    	if(response.data.rwjgLhVo2.jgLhjgJcdxEntity!=null){
	                    		this.other.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;
	                    	}else{
	                    		this.other.jcdxEntity = {
	                    			cerificateType: '',
			                        certificateContent: '',
			                        enterprisecreditcode: "",
			                        objectMark: '',
			                        objectType: '',
			                        objectname: "",
			                        taskno: ""
	                    		}
	                    	}
	                    } else {
	                        this.$message.error(data.msg);
	                    }
	                })
	                .catch(function (error) {
	                    console.log(error);
	                });
				}
			},
            // 查看
            view(index,row){
                this.uuid=row.taskId;
                this.link="../../upload/annex.html?uuid="+this.uuid+"&flag=0";
                this.viewUniondetail = true;
                this.showInformation(index,row);
            },
            viewSupervision(){
            	console.log(this.fbDetail.taskInfo.taskno)
            	this.clear();
            	this.viewSupdetail = true;
            	axios({
                    method: 'get',
                    url: '/dzjzfjg/lhjgrwbl/findByTaskNo',
                    params: {
                        taskNo: this.fbDetail.taskInfo.taskno	                        
                    }
                })
                .then(response => {
                    console.log(response);
                    if (response.data.code == 200) {
                    	if(response.data.rwjgLhVo.jgLhjgCreditAssessEntity!=null){
                    		this.supDetail.creditAssessInfo = response.data.rwjgLhVo.jgLhjgCreditAssessEntity;
                    	}
                        if(response.data.rwjgLhVo.jgLhjgOperatingAbnormalEntity!=null){
                        	this.supDetail.abnormalInfo = response.data.rwjgLhVo.jgLhjgOperatingAbnormalEntity;
                        }
                        if(response.data.rwjgLhVo.jgLhjgSeriousIllegalEntity!=null){
                        	this.supDetail.seriousIllegalInfo = response.data.rwjgLhVo.jgLhjgSeriousIllegalEntity;
                        }
                        if(response.data.rwjgLhVo.jgLhjgComplaintInfoEntity!=null){
                        	this.supDetail.complaintInfo = response.data.rwjgLhVo.jgLhjgComplaintInfoEntity;
                        }
                        if(response.data.rwjgLhVo.jgLhjgTipInfoEntity!=null){
                        	this.supDetail.tipInfo = response.data.rwjgLhVo.jgLhjgTipInfoEntity;
                        }
                        if(response.data.rwjgLhVo.jgLhjgRiskWarningEntity!=null){
                        	this.supDetail.riskWarningInfo = response.data.rwjgLhVo.jgLhjgRiskWarningEntity;
                        }
                    } else {
                        this.$message.error(data.msg);
                    }
                })
                .catch(function (error) {
                    console.log(error);
                });
            },
            // 分办
            dispense(index,row){
            	this.uuid=row.taskId;
                this.link="../../upload/annex.html?uuid="+this.uuid+"&flag=0";
                this.viewDispensedetail = true;
                this.showInformation(index,row);
            },
			// 结束
			finish(index, row) {
				console.log(row.taskno)
                this.$confirm('确定要结束吗?', '提示', {
                    cancelButtonText: '取消',
                    confirmButtonText: '确定',
                    type: 'warning'
                }).then(() => {
                    axios({
                        method: 'get',
                        url: '/dzjzfjg/lhjgrwbl/end',
                        params:{
                        	taskno:row.taskno
                        }
                        
                    })
                    .then(response => {
                        let data = response.data;
                        console.log(response);
                        if (data.code == 200) {
                            // 确认结束
                            this.$message({
                                type: 'success',
                                message: '结束成功!'
                            });
                            this.getData();
                        } else {
                            this.$message.error(data.msg);
                        }
                    })
                    .catch(function (error) {
                        console.log(error);
                    });
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '取消'
                    });
                });
			},
			// 反馈
			feedback(index, row) {
				console.log(row.taskno)
                this.$confirm('确定要反馈吗?', '提示', {
                    cancelButtonText: '取消',
                    confirmButtonText: '确定',
                    type: 'warning'
                }).then(() => {
                    axios({
                        method: 'get',
                        url: '/dzjzfjg/lhjgrwbl/feedback',
                        params:{
                        	taskno:row.taskno
                        }
                    })
                        .then(response => {
                            let data = response.data;
                            console.log(response);
                            if (data.code == 200) {
                                // 确认反馈
                                this.$message({
                                    type: 'success',
                                    message: '反馈成功!'
                                });
                                this.getData();
                            } else {
                                this.$message.error(data.msg);
                            }
                        })
                        .catch(function (error) {
                            console.log(error);
                        });
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '取消'
                    });
                });
			},
            // 公共方法--查看
            showInformation(index,row){
            	console.log(row.taskno)
                axios({
                    method: 'get',
                    url: '/dzjzfjg/lhjgrwbl/info',
                    params: {
                        taskno: row.taskno
                    }
                })
				.then(response => {
					console.log(response)
					if (response.data.code == 200) {						
						this.fbDetail.taskInfo = response.data.rwsVo.jgLhjgRwsEntity;
						this.fbDetail.taskXb = response.data.rwsVo.jgLhjgRwxbglbList;
						this.fbDetail.taskInfo.taskJgType = response.data.rwsVo.jgLhjgRwsEntity.taskJgType.split(',');
						if(response.data.rwsVo.jgFbLhjgEntity!=null){
							this.fbDetail.taskFb = response.data.rwsVo.jgFbLhjgEntity;
						}
						if(response.data.rwsVo.jcdxEntity!=null){
							this.fbDetail.superviseObject = response.data.rwsVo.jcdxEntity;
						}
						this.fbDetail.taskFk = response.data.rwsVo.jgLhjgFkList;
						for(let i = 0;i < this.fbDetail.taskFk.length;i++){
							this.fbDetail.taskFk[i].fkType = this.fbDetail.taskFk[i].fkType.split(',');
						}

                        if(this.fbDetail.taskFk != null && this.fbDetail.taskFk.length > 0) {
                            for(var i =0; i < this.fbDetail.taskFk.length; i++) {
                                if(this.fbDetail.taskFk[i].superviseItemCode != null && this.fbDetail.taskFk[i] != "") {
                                    this.fbDetail.taskFk[i].fkJgTypeList = this.fbDetail.taskFk[i].superviseItemCode.split(",");
                                } else {
                                    this.fbDetail.taskFk[i].fkJgTypeList = [];
                                }

                            }
                        }

					} else {
						this.$message.error(data.msg);
					}
				})
				.catch(function (error) {
					console.log(error);
				});
            },
			// 反馈后查看四个行为
            checkFkDetail(type, uuid){
                if(type =='行政检查'){
                    this.adminDialogForm = true;
                        axios({
                            method: 'get',
                            url: '/dzjzfjg/lhjgrwbl/findOneByCodeAndUuid',
                            params: {
                                taskNo : this.fbDetail.taskInfo.taskno,
                                superviseItemCode : 1,
                                uuid : uuid
                            }
                        })
                            .then(response => {
                                let data = response.data;
                                console.log(data);
                                if (data.code == 200) {
                                    this.admin = response.data.rwjgLhVo2.jgJgxwCheckActionEntity;
                                    this.admin.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;
                                } else {
                                    this.$message.error(data.msg);
                                }
                            })
                            .catch(function (error) {
                                console.log(error);
                            });

                }
                else if(type =='行政处罚'){
                    this.punishDialogForm = true;


                        axios({
                            method: 'get',
                            url: '/dzjzfjg/lhjgrwbl/findOneByCodeAndUuid',
                            params: {
                                taskNo : this.fbDetail.taskInfo.taskno,
                                superviseItemCode : 2,
                                uuid : uuid
                            }
                        })
                            .then(response => {
                                let data = response.data;
                                if (data.code == 200) {
                                    this.punish = response.data.rwjgLhVo2.jgJgxwPunishActionEntity;
                                    this.punish.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;
                                } else {
                                    this.$message.error(data.msg);
                                }
                            })
                            .catch(function (error) {
                                console.log(error);
                            });

                }
                else if(type =='行政强制'){
                    this.forceDialogForm = true;

                        axios({
                            method: 'get',
                            url: '/dzjzfjg/lhjgrwbl/findOneByCodeAndUuid',
                            params: {
                                taskNo : this.fbDetail.taskInfo.taskno,
                                superviseItemCode : 3,
                                uuid : uuid
                            }
                        })
                            .then(response => {
                                let data = response.data;
                                if (data.code == 200) {
                                    this.force = response.data.rwjgLhVo2.jgJgxwForceActionEntity;
                                    this.force.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;

                                } else {
                                    this.$message.error(data.msg);
                                }
                            })
                            .catch(function (error) {
                                console.log(error);
                            });

                }
                else if(type== "其它"){
                    this.otherDialogForm = true;

                        axios({
                            method: 'get',
                            url: '/dzjzfjg/lhjgrwbl/findOneByCodeAndUuid',
                            params: {
                                taskNo : this.fbDetail.taskInfo.taskno,
                                superviseItemCode : 4,
                                uuid : uuid
                            }
                        })
                        .then(response => {
                            let data = response.data;
                            if (data.code == 200) {
                                this.other = response.data.rwjgLhVo2.jgJgxwOtherActionEntity;
                                this.other.jcdxEntity = response.data.rwjgLhVo2.jgLhjgJcdxEntity;

                            } else {
                                this.$message.error(data.msg);
                            }
                        })
                        .catch(function (error) {
                            console.log(error);
                        });
                }
					
            },
            changeValuetype(value){
            	console.log(value)
            	this.fbDetail.taskFb.fbBureau = '';
            	this.fbDetail.taskFb.fbDepartment = '';
            },
            cancel(){
            	this.fbDetail.taskFb.fbType = '';
            	this.fbDetail.taskFb.fbBureau = '';
            	this.fbDetail.taskFb.fbDepartment = '';
            },
            clear(){
                this.supDetail = {
                	creditAssessInfo:{
                		enterpriseName:'',
                		columnTime:'',
                		enterpriseIdType:'',
                		enterpriseCreditCode:'',
                		enterpriseMark:'',
                		enterpriseType:''
                	},
                	abnormalInfo:{
                		enterpriseName:'',
                		enterpriseCreditCode:'',
                		abnormalPutdptm:'',
                		abnormalPutdate:'',
                		abnormalPutrs:'',
                		abnormalListPutdptm:'',
                		abnormalListDate:'',
                		abnormalListRreasons:''
                	},
                	seriousIllegalInfo:{
                		enterpriseName:'',
                		enterpriseCreditCode:'',
                		illegalDepartment:'',
                		illegalPutDate:'',
                		illegalReason:'',
                		illegalListPutdptm:'',
                		illegalListDate:'',
                		illegalListRreasons:''
                	},
                	complaintInfo:{
                		complaintObject:'',
                		complaintObjectCertCode:'',
                		complaintType:'',
                		complaintTerritory:'',
                		serviceType:'',
                		serviceName:'',
                		disputeDate:'',
                		complaintDetail:''
                	},
                	tipInfo:{
                		tipObject:'',
                		enterpriseCreditCode:'',
                		tipType:'',
                		tipTerritory:'',
                		serviceType:'',
                		serviceName:'',
                		disputeDate:'',
                		tipDetail:''
                	},
                	riskWarningInfo:{
                		riskObject:'',
                		riskObjectCertcode:'',
                		riskId:'',
                		domains:'',
                		province:'',
                		title:'',
                		level:'',
                		createAt:'',
                		source:'',
                		ruleId:'',
                		props:''
                	}
                }
            }
        }
    })
</script>
</body>
</html>